<script type="text/javascript">
    $(function() {
        $('footer a').each(function(){
            if($($(this))[0].href==String(window.location)){
                $('footer a').removeClass("active");
                $(this).addClass('active');
            }
        });
    });
</script>
<footer class="bar bar-tab">
    <a class="tab-item external active" href="/wxcp/home">
        <span class="icon iconfont">&#xe623;</span>
        <span class="tab-label">首页</span>
    </a>
    <!--<a class="tab-item external" href="#">
        <span class="icon iconfont">&#xe614;</span>
        <span class="tab-label">社区</span>
    </a>-->
    <a class="tab-item external" href="javascript:;">
        <span class="icon iconfont">&#xe64f;</span>
        <span class="tab-label">我的</span>
    </a>
</footer>
